package com.runfast.waimai.dao.model;

import com.runfast.paotui.dao.model.Order;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Data
public class WaiMaiRunfastShopper implements Serializable {
    private Integer id;
    /**创建时间*/
    private Date createtime;
    /**信用等级*/
    private Integer creditrating;
    /**配送范围*/
    private String distribution;
    /**配送最大数量*/
    private Integer distributionmun;
    /**配送结束时间*/
    private Date endtime;
    /**电话*/
    private String munber;
    /**姓名*/
    private String name;
    /**密码*/
    private String password;
    /**配送开始时间*/
    private Date starttime;
    /**帐号*/
    private String username;
    /**工作日*/
    private String worktoday;
     /**纬度*/
    private String latitude;
    /**经度*/
    private String longitude;
    /**可提现金额*/
    private BigDecimal interimremainder;
    /**最低提现金额（废弃）*/
    private BigDecimal minmonety;
    /**账号余额*/
    private BigDecimal remainder;
    /**推送的渠道id*/
    private String bdchannelid;
    /**推送的渠道用户id*/
    private String bduserid;
    /**0或空  Android用户  1 ios用户*/
    private Integer bptype;
    /**信用等级id*/
    private Integer creditlevelid;
    /**代理商Id*/
    private Integer agentid;
     /**代理商名称*/
    private String agentname;
    /**1上班 其他休息*/
    private Integer working;
    /**1/null：正常状态，-1：冻结状态*/
    private Integer status;
    /**push类型对应的用户标识*/
    private String otherid;
    /**push类型*/
    private Integer pushtype;
    /**分组ID*/
    private Integer teamid;
    /**分组名称*/
    private String teamname;

    private String alias;

    private Double distance;

    private BigDecimal coefficient;

    /**
     * 工作性质（全职或者兼职）
     */
    private Integer workType;

    /** 当天接单数（接单未配送）*/
    private Integer jieDanNum;
    /**当天接单信息（接单为配送）*/
    //private List<RunfastGoodsSellRecord> jieDanRecords=new ArrayList<RunfastGoodsSellRecord>();

    /** 当天正在配送单数（正在配送）*/
    private Integer peiSongNum;
    /**当天正在配送单信息（正在配送）*/
    //private List<RunfastGoodsSellRecord> peiSongRecords=new ArrayList<RunfastGoodsSellRecord>();

    /** 当天总订单数（3：骑手接单   4：商品打包 ，5：商品配送 6：商品送达，7:确认收货 ，8：订单完成）*/
    private Integer totalNum;

    /**当天接单信息（接单未配送,正在配送）*/
    private List<RunfastGoodsSellRecord> records=new ArrayList<RunfastGoodsSellRecord>();

    /**当天接单信息(跑腿订单)（接单未配送,正在配送）*/
    private List<Order> paotuiRecords=new ArrayList<Order>();

    /**跑腿中骑手统计需要的字段*/
    /**小费总金额对应打赏金额*/
    private BigDecimal totalTip;
    /**配送量*/
    private Integer  totalDriverNum;
    /**骑手收入对应配送所得金额*/
    private BigDecimal totalDriverIncome;
    private static final long serialVersionUID = 1L;
}